/*
Theme Name: jquerymobile-com
Template: jquery
*/

h1.site-title a {
    background: url(../jquery/i/logo-mobile.png) no-repeat;
    height: 72px;
    width: 275px;
    left: -5px;
    top: -1px;
    position: relative;
}

.border, #site-footer { border-color: #88C41A; }

a, .title, .entry-title { color: #108040; }

#container header nav {
    border-top: solid 1px rgba(136,196,26,0.3);
    background: rgba(80,118,17,0.4);
    -webkit-box-shadow: rgba(255,255,255,0.1) 0 1px 0, rgba(0,0,0,0.2) 0 -1px 0, inset rgba(80,118,17,0.5) 0 -3px 5px;
    box-shadow: rgba(255,255,255,0.1) 0 1px 0, rgba(0,0,0,0.2) 0 -1px 0, inset rgba(80,118,17,0.5) 0 -3px 5px;
}

#description {
  float: left;
  width: 100%;
  margin-right: -342px;
  padding-right: 362px;
}

.content-full #content #banner-secondary h1 {
  text-align: left;
  margin-bottom: 20px;
}

#banner-secondary p.intro {
  padding: 0;
  max-width: 600px;
  line-height: 1.4;
}

#banner-secondary .download-box {
  border: 1px solid #aaa;
  background: #333;
  background: -moz-linear-gradient(left, #333 0%, #444 100%);
  background: -webkit-linear-gradient(left, #333 0%, #444 100%);
  background: -o-linear-gradient(left, #333 0%, #444 100%);
  background: linear-gradient(to right, #333 0%, #444 100%);
  float: right;
  width: 335px;
  text-align: center;
  font-size: 20px;
  padding: 10px;
  border-radius: 5px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
}

#banner-secondary .download-box h2 {
  color: #71D1FF;
  font-size: 26px;
}

#banner-secondary .download-box .button {
  float: none;
  display: block;
  margin-top: 15px;
}

#banner-secondary .download-box p {
  margin: 15px 0 5px;
}

#banner-secondary .download-option {
  font-size: 16px;
}

#banner-secondary .download-option span {
  display: block;
  font-size: 14px;
  color: #71D1FF;
}

#home-content {
  margin-bottom: 15px;
}

#content .dev-links {
  float: right;
  margin-bottom: 15px;
}

#home-content article {
  padding-bottom: 30px;
}

#jqm-devices {
  float: right;
  width: 40%;
  margin: 0 0 15px 15px;
}

#themeroller-logo {
  float: left;
  width: 359px;
  margin: 0 15px 15px 0;
}

#home-content article:last-child {
  float: left;
}

@media (max-width: 850px) {
  #description {
    float: none;
    margin: 0;
    padding: 0;
  }

  .content-full #content #banner-secondary h1 {
    text-align: center;
  }

  #banner-secondary p.intro {
    text-align: center;
    max-width: none;
    margin-bottom: 20px;
  }

  #banner-secondary .download-box {
    float: none;
    width: auto;
    max-width: none;
    margin: 0 auto;
  }

  #banner-secondary .download-box .button {
    max-width: 335px;
    margin: 15px auto 0;
  }

  #content .dev-links {
    float: none;
    width: auto;
    margin-left: 0;
  }

  #home-content article {
    float: none;
    width: auto;
  }

  #jqm-devices,
  #themeroller-logo {
    float: none;
    display: block;
    margin: 0 auto 15px;
  }

  #jqm-devices {
    width: 360px;
  }
}

.a, .graded td.a { background: #5FB221; color: #fff; }
.b, .graded td.b { background: #ff9b0a; color: #fff; }
.c, .graded td.c { background: #d80700; color: #fff; }
.f, .graded td.f { background: #333; color: #fff; }
.next { font-style: italic; }
.graded td.next { color: rgba(255,255,255,0.6);}
.cur, .graded td.cur { font-weight: bold; background: #bddcf1 }
#page .graded td.cur a {font-weight: bold !important }

.graded {
  width: 100%;
  margin: 0 0 30px 0;
  border-style: collapse;
  border-spacing: 3px;
}

#page .graded caption {
  left: -46px;
  top: -45px;
}

#page .graded caption em {
  padding: 7px 0;
  text-align: left;
}

.graded thead th {
  font-size: 1.4em;
  width: 30px;
  padding: 5px 0 5px 0;
  vertical-align: top;
  white-space: nowrap;
}

.graded td {
  background: #f5f5f5;
  border-right: solid 1px #fafafa;
  border-bottom: solid 1px #fafafa;
  font-size: 1.6em;
  text-align: center !important;
  width: 30px;
  height: 30px;
  vertical-align: middle;
}

tr.platform { border-bottom: 5px solid #FFF; }

.graded td.platform {
  text-align: left;
  padding: 0 5px;
  white-space: nowrap;
  font-size: 1.5em;
  text-align: center;
  border-right: none;
  background: #bddcf1;
  text-shadow: #fff 0 1px 0;
}

#page .graded td.version a {
  font-weight: normal;
}

#page .graded .platform a:hover,
#page .graded td.version a:hover {
  text-decoration: underline;
}

#page .graded td.platform a,
#page .graded td.cur a {
  color: #0f212e !important;
}

.graded td.version {
  white-space: nowrap;
  font-size: 1.3em;
  color: #555;
  padding: 0 5px;
}
.graded thead tr.gr-versions th {
  font-size: 1.2em;
  padding: 0 0 5px 0;
  color: #555;
}

ul .a, ul .b, ul .c, ul .f, ul .next {
  padding: 2px 4px;
}

ul .next {
  border: solid 1px #ddd;
  padding: 1px 3px;
  color: #555;
}

#graded-support {
  position: relative;
  margin-top: 70px;
}
